<template>
  <div class="warp_box">
    <div class="bar_box"><Bar/></div>
    <div class="content_box">
    <el-page-header @back="goBack" content="修改文章" class="goback"></el-page-header>
    <div class="top_box">
        <div class="left_box">
          <img src="../assets/logo@1x.png" alt="" class="article_img">
        </div>
        <div class="right_box">
          <div class="art_num">
            <span>文章编号:</span>
            <span>100</span>
          </div>
          <div class="art_num">
            <span>文章名称:</span>
            <span>xx一篇好文章</span>
          </div>
          <div class="art_num">
            <span>创建时间:</span>
            <span>2024.1.1</span>
          </div>
          <div class="art_num">
            <span>管理员:</span>
            <span>文章管理员1</span>
          </div>
        </div>
      </div>
      <div class="modify_box">
        <el-input
          type="textarea"
          :autosize="{ minRows: 15}"
          placeholder="请输入内容"
          v-model="textarea1">
        </el-input>
      </div>
    </div>
    <div class="buttom"><ButtomBox/></div>
  </div>
</template>

<script>
import ButtomBox from '../components/ButtomBox.vue'
import Bar from '../components/Bar.vue'
export default {
  name: 'MotifyArticle',
  components:{
    ButtomBox,Bar
  },
  data(){
    return{
      
    }
  },
  methods:{
    goBack(){
      console.log('11')
      this.$router.push(
        {
          name:'Manager'
        }
      )
    }
    
  }
}
</script>

<style>
.modify_box{
  margin-top: 7vh;
}
.el-textarea{
  width: 80vw!important;
}
.article_img{
  width: 5vw;
  height: 5vw;
  margin-left: 5vw;
}
.top_box{
  background-color: #fff;
  display: flex;
  height: 7vw;
  width: 100%;
}
.content_box {
    height: 85vh;
    width: 80vw;
    padding-left: 10vw;
    padding-right: 10vw;
    background-color: #EFEFEF;
}
.goback{
   margin-top: 1vh;
  background-color: #fff;
  margin-bottom: 1vh;
  height: 5vh;
  align-items: center;
}
</style>